package com.chalk;



import java.lang.reflect.Field;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Arrays;
import java.util.Calendar;
import java.util.List;

/**
 * 根据实体类生成实体类的json串
 *
 * @date: 2019-04-28 上午 11:30
 * @author: zhaobo0119@outlook.com
 * @Descriptopn:
 */
public class Model2Json {

    public static final String[] array = {"createTime", "updateTime", "operatorType", "operatorId", "isDeleted"};

    private static final ThreadLocal<DateFormat> format = new ThreadLocal<DateFormat>() {
        @Override
        protected DateFormat initialValue() {
            return new SimpleDateFormat("YYYY-MM-dd HH:mm:ss");
        }
    };

    public static void main(String[] args) {

    }
}
